//index.js
//获取应用实例
const app = getApp()
Page({
	data: {
		openid: '',
		shopName: '',
		shopAvatarUrl: '',
		curentNav: 2, //当前导航
		money: 0,
		tax: 0,
		bank_card: 0,
		bank_name: '',
		service_money: 0,
		store_id: 0
	},
	//事件处理函数
	onLoad: function(e) {
		var _this = this;
		this.setData({
			money: e.money,
			tax: e.ratio,
			bank_card: e.bank_card,
			bank_name: e.bank_name,
			service_money: e.service_money,
			store_id: e.id,
		})

	},
	onReady: function() {
		wx.setNavigationBarTitle({
			title: '货款提取'
		})
	}
})
